/*
	首页的js
*/
// 添加到收藏
function addCookie()
{
 if (document.all)
    {
       window.external.addFavorite('<?=$base_url?>','<?=$site_name?>');
    }
    else if (window.sidebar)
    {
       window.sidebar.addPanel('<?=$site_name?>', '<?=$base_url?>', "");
 }
}
